package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @auther Administrator
 * @date 2023/2/23 8:01
 */
public interface DtsGoodsService {
    //查询数量
    Long findCount();

    IPage<DtsGoods> findAllByPage(Integer page, Integer limit, String name, String goodsSn, String sort, String order, List<Integer> brandIds);

    void create(GoodsAllinone goodsAllinone);

    Map detail(Integer id);

    void update(GoodsAllinone goodsAllinone);

    void delete(DtsGoods goods);

    DtsGoods findGoodsById(Long goodsId);
}
